home *** CD-ROM | disk | FTP | other *** search
- recio, Version 2.00, Release April 15, 1994.
- Copyright (C) 1994, William Pierpoint.
-
- HISTORY OF RECIO LIBRARY
-
- 4/15/94 - vers 2.00
-
- RECIO can now write as well as read. Over 25 new functions added.
-
- New record streams that are always open are recout, recerr, and recprn.
- New predefined context numbers are RECOUT, RECERR, and RECPRN.
-
- ROPEN_MAX increased from 5 to 8.
-
- New symbolic error constants are:
- R_EINVMOD - tried to read file opened in write mode, or vice versa.
- R_ENOPUT - unable to output data.
-
- New callback warning function and associated warning functions.
- Now all empty data strings are trapped as warnings. Application can
- choose to handle them or to ignore them. Failure of atexit function
- is changed from an error to a warning.
-
- New symbolic warning constants:
- R_WEMPSTR - data string is empty.
- R_WWIDTH - data too wide for columnar output.
- R_WNOREG - unable to register exit function with atexit().
- (changed from error symbolic constant R_ENOREG).
-
-
- 4/8/94 - vers 1.20
-
- Created new rerrstr and rstrerror functions. Simplified TESTCH.C and
- TESTCO.C code by using rerrstr.
-
- Changed the specification and code for the rgets and rcgets functions to
- return a pointer to an empty string (rather than a null pointer) on error.
- This will help reduce null pointer errors in application programs.
-
- Changed the specification and code for the rgetrec function. The rgetrec
- function now clears the record buffer before the next record is read.
- This will cause the error number to be set to R_EMISDAT if the application
- ignores the eof indicator and attempts to read fields in records beyond
- end-of-file. There is one exception: if the field just prior to the record
- buffer string terminator is a string field (which for an empty record buffer
- is the first field), it won't be trapped as missing data. This is an
- unavoidable consequence of allowing empty string fields. But you shouldn't
- be ignoring end-of-file anyway! Also rgetrec continues to increment the
- record number if the program reads beyond end of file. This solves an
- "off by one" bug when the file ends prematurely.
-
- Developed the dif program to locate line where two text files first
- differ. Inserted dif source into TUTOR.TXT to illustrate a very simple
- callback error function. Substituted the dif program for the cmp program
- in regression test TEST.BAT.
-
-
- 4/5/94 - vers 1.11
-
- When is the minimum not the minimum? MIN values in <float.h> are defined
- differently than in <limits.h>. Fixed code to match definitions in
- ANSI X3.159-1989 Section 2.2.4.2.
-
- RECIO now tests for underflow and overflow of all floating point numbers
- input. Test results TESTCH.OUT shows when overflow and underflow occur.
-
- Created new rfix functions to provide a quick way to fix overflows and
- underflows, and to get callback error functions up and running more
- quickly.
-
-
- 3/28/94 - vers 1.10
-
- Created single precision floating point functions rgetf() and rcgetf().
-
- Created functions rsetbegcolno() and rbegcolno() to make it easy to
- have column numbering start at either 0 or 1. Default is 0.
-
- Created program TESTCO to test column delimited fields; enhanced test
- program TESTCH for character delimited fields.
-
- Created new symbolic error constants for record streams. Program must
- use symbolic constants starting with R_ (such as R_EINVDAT) for valid
- record streams; use errno constants (such as ENOMEM) for invalid record
- streams. New error checking provides better reporting and portability.
- New symbolic error constants are not compatible with version 1.00;
- some rework of version 1.00 callback error functions required.
-
- Fixed some bugs in the column delimited functions.
-
- 3/23/94 - vers 1.00
-
- Initial public release.
-